<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jq-6</title>
		<script src="../js/jquery-3.6.3.min.js"></script>
		<script>
			$(function(){
				//$("#t4").prev().css({"font-size":"59px","color":"red"});
				$("#t4").siblings().css({"font-size":"59px","color":"red"});
				
			});
		</script>
	</head>
	<body>
		<ul>
			<li>桃子</li>
			<li>狮子</li>
			<li>柿子</li>
			<li id="t4">花生</li>
			<li>xihongshi</li>
			<li>putao</li>
			<li>boluo</li>
		</ul>
	</body>
</html>